
#include "NativeDll.h"
#include "mersenne_twister.hpp"

EXPORT double Run(int size)
{
	double average = 0;
	MersenneTwister engine;
	for(int i = 0; i < size; ++i)
	{
		average += engine();
	}
	return average / size;
}


